/*
* Copyright 2010 ANDAGO INGENIERIA S.L.
*
* Licensed under the EUPL, Version 1.1 only (the "Licence");
* You may not use this work except in compliance with the
* Licence.
* You may obtain a copy of the Licence at:
*
* http://ec.europa.eu/idabc/eupl
*
* Unless required by applicable law or agreed to in
* writing, software distributed under the Licence is
* distributed on an "AS IS" basis,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied.
* See the Licence for the specific language governing
* permissions and limitations under the Licence.
*/

package com.andago.bean;



public class Measurement {
	
	private String variable;
	private String value;
	private String unit;
	private String date;

	
	
	/*****************************************************************
		CONSTRUCTORES
	 *****************************************************************/
	
	public Measurement(String variable, String value, String unit,String date) {
		this.variable = variable;
		this.value = value;
		this.unit = unit;
		this.date = date;
		
	}
	
	public Measurement(String variable, String value, String date) {
		this.variable = variable;
		this.value = value;
		this.date = date;
		this.unit = "";
		
	}
	
	
	/*****************************************************************
		METODOS GET AND SET
	 *****************************************************************/


	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}



	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}


	public String getVariable() {
		return variable;
	}

	public void setVariable(String variable) {
		this.variable = variable;
	}

	
	

}
